home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gekkan Dennou Club 140
/
Gekkan Dennou Club - 2000.1 Vol. 140 (Japan).7z
/
Gekkan Dennou Club - 2000.1 Vol. 140 (Japan) (Track 1).bin
/
games
/
km21
/
src
/
mainsys.inc
< prev
next >
Wrap
Text File
|
1999-12-05
|
2KB
|
93 lines
/*
mainsys.c 外部参照
*/
extern DEVICE Dev,oDev,sDev;
//本当はタスクワークの直接参照はやらすべきでないのだが
extern TASK PTask[2]; //プレーヤー
extern TASK ETask[MAX_ETASK]; //敵
extern TASK MTask[MAX_MTASK];
extern TASK ITask[MAX_ITASK];
extern ESTASK ESTask[MAX_ESTASK];
extern PSTASK PSTask[MAX_PSTASK];
extern int gameStep;
extern int gameLevel;
extern int gameTotalCounter;
extern int SyncMan__dispPage;
extern int scoreHI;
extern int score1P;
extern int left1P;
//--------------------------------------
extern int SetX6Pcgbuf(unsigned short *addr);
extern int SetX6Palbuf(unsigned short *addr);
extern int AllTaskFree(void);
extern int AllETaskFree(void);
extern int PTaskAlloc(int pn);
extern TASK *MTaskAlloc();
extern TASK *ETaskAlloc();
extern TASK *ITaskAlloc();
extern int MTaskFree(TASK *task);
extern int ETaskFree(TASK *task);
extern int ITaskFree(TASK *task);
extern ESTASK *ESTaskAlloc();
extern int ESTaskFree(ESTASK *task);
extern PSTASK *PSTaskAlloc();
extern int PSTaskFree(PSTASK *task);
extern short Search256(short sx, short sy, short tx, short ty);
extern short SearchJ8(short sx, short sy, short tx, short ty);
extern short D256toJ8(short sdir);
extern short dir256_reflect_ay(short in);
extern short dir256_reflect_ax(short in);
extern int ANIMONLY_JOB(TASK *t);
extern int LOOPANIM_JOB(TASK *t);
extern int NOP_JOB(TASK *t);
extern int PLAYERSHT_JOB(PSTASK *t);
extern int ENEMYSHT_JOB(ESTASK *t);
////////////////////////////////////////////////////////////////////////////////
// sound.inc
////////////////////////////////////////////////////////////////////////////////
/*
sound.inc
*/
extern int PCMADDR[],PCMLEN[]; //効果音リスト
extern char *ZMDINFO[]; //BGM名リスト
extern int SOUND_CALL();
#define SDCALL_INIT (0) //初期化
#define SDCALL_REQUEST (-1) //1つ前のコマンドリクエスト
#define SE_CARD_KUBARU (1) //カードくばる
#define SE_CARD_MEKURU (2) //カードめくる
#define SE_BET_UP (3) //掛け金あげる
#define SE_KACHI (4) //カチッ
#define BGM_INIT (0x0101) //初期
#define BGM_MAIN (0x0102) //メイン
#define BGM_GOOD (0x0103) //chip多い
#define BGM_NOTGOOD (0x0104) //chip少ない